export function filterSex (sexCode) {
  switch (sexCode) {
    case 0:
      return '男'
    case 1:
      return '女'
  }
}

export function userType (typeCode) {
  switch (typeCode) {
    case 0:
      return '管理员'
    case 1:
      return '用户'
    default:
      return '其他'
  }
}

export function userStatus (statusCode) {
  switch (statusCode) {
    case 0:
      return '正常'
    case 1:
      return '禁用'
    default:
      return '其他'
  }
}
